package cn.wb.user.mapper;

import cn.wb.user.domain.Logininfo;
import cn.wb.base.mapper.BaseMapper;
import cn.wb.user.dto.AccountLoginDto;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author itsource
 * @since 2022-12-30
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByAccount(AccountLoginDto dto);

    Logininfo findByUserId(Long userId);
}
